.dashboard {
    display: flex;
    height: 100vh;
    font-family: Arial, sans-serif;

    .left-panel {
      width: 66.66%;
      padding: 16px;
      display: flex;
      flex-direction: column;
      background: #f4f4f4;

      .dropdowns {
        display: flex;
        gap: 12px;
        margin-bottom: 16px;

        select {
          flex: 1;
          padding: 6px;
          border: 1px solid #ccc;
          border-radius: 4px;
        }
      }

      .middle-content {
        flex: 1;
        background: #fff;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
        box-shadow: 0 0 6px rgba(0,0,0,0.1);

        .placeholder {
          color: #999;
        }
      }

      .bottom-section {
        display: flex;
        gap: 16px;
        height: 33%;

        .energy-monitor,
        .energy-chart {
          flex: 1;
          background: #fff;
          padding: 12px;
          border-radius: 6px;
          box-shadow: 0 0 6px rgba(0,0,0,0.1);

          h3 {
            margin-bottom: 8px;
          }

          .up {
            color: red;
          }

          .down {
            color: green;
          }

          .chart-placeholder {
            background: #e0f2ff;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #555;
          }
        }
      }
    }

    .right-panel {
      width: 33.33%;
      padding: 16px;
      background: #fff;
      display: flex;
      flex-direction: column;

      .sensor-dropdown {
        margin-bottom: 16px;

        select {
          width: 100%;
          padding: 6px;
          border: 1px solid #ccc;
          border-radius: 4px;
        }
      }

      .tab-switch {
        display: flex;
        margin-bottom: 8px;

        button {
          flex: 1;
          padding: 10px;
          border: none;
          border-bottom: 2px solid transparent;
          background: none;
          cursor: pointer;
          font-weight: bold;

          &.active {
            border-color: #007bff;
            color: #007bff;
          }
        }
      }

      .tab-content {
        flex: 1;
        overflow-y: auto;
        border: 1px solid #eee;
        padding: 12px;
        border-radius: 4px;
        background: #fafafa;
        position: relative;

        .device-item {
          display: flex;
          justify-content: space-between;
          background: #fff;
          padding: 8px;
          margin-bottom: 12px;
          border-radius: 4px;
          box-shadow: 0 1px 2px rgba(0,0,0,0.05);

        }
      }
    }
  }
